#ifndef __MY_FLIGHT_NODE_H__
#define __MY_FLIGHT_NODE_H__

my_flight_Node_p my_flight_Init();
my_flight_Node_p my_flight_create();
void my_flight_insert(my_flight_Node_p headNode, my_flight_p data);
my_flight_Node_p find_my_flight_byUsernameAndFlightID(my_flight_Node_p headNode, char *username, char *flight_id);
void my_flight_delete(my_flight_Node_p currNode);
my_flight_Node_p get_userFlightList(my_flight_Node_p headNode, char *uaername);
void my_flight_headInsert(my_flight_Node_p headNode, my_flight_Node_p currNode);
int getMyFlightCount(my_flight_Node_p headNode);
void free_my_flightList(my_flight_Node_p headNode);
void my_flight_deleteByFlight_id(my_flight_Node_p headNode, char *flight_id);
void find_my_flight_by_seat(my_flight_Node_p headNode, char *flight_id, int seat_type);
my_flight_p updata_my_flightByflight_id(my_flight_Node_p headNode, char *old_flight_id, char *new_flight_id);
my_flight_Node_p get_bookedUsersFlightList(my_flight_Node_p headNode, char *flight_id);
#endif